<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" th:replace="layouts/master(title='学生列表')">



<th:block th:fragment="css"> <link rel="stylesheet" href="/css/list.css"></th:block>

<div th:fragment="content">
    <h1>这是我的内容</h1>
    <div class="input-group mb-3">
        <input type="text" class="form-control" placeholder="输入姓名" id="searchName">
        <div class="input-group-append">
            <button class="btn btn-primary" type="button" id="searchButton">查询</button>
        </div>
    </div>
            <show>
        <div class="row">
            <table class="table table-striped">
                <thead>
                <tr>
                    <th>id</th>
                    <th>name</th>
                    <th>score</th>
                </tr>
                </thead>
                <tbody id="students"></tbody>
            </table>
        </div>
    </show>
</div>

<div th:fragment="scripts">
    <script type="text/javascript" src="/pagejs/student/list.js"></script>
</div>

</html>
